// type关键字用来定义类型别名
type str = string
let str9: str = '123'

// 字面量类型
type xxx = 'a' | 'b'
type yyy = 1 | 0
let str8: xxx = 'a'
let num8: yyy = 0
